package com.wjb.xietong.util;

public class ContentReplace {
	private static final String SINGLE_WRAP_TAG = "!!wjb!!";
	private static final String TWICE_WRAP_TAG = "##wjb##";
	private static final String WRAP_MARK = "\n";
	
	public static String replaceContent(String content){
		if(null != content){
			content = content.replaceAll(SINGLE_WRAP_TAG, WRAP_MARK);
			content = content.replaceAll(TWICE_WRAP_TAG, WRAP_MARK + WRAP_MARK);
		}
		return content;
	}
}
